﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using Com.Alipay;

namespace WeChat.Common2
{
    public class AlipayF2FBiz
    {
        private AlipayF2FBiz() { }

        public static AlipayHelperService serviceClient = null;


        public static AlipayHelperService CreateClientInstance(string serverUrl, string appId, string merchant_private_key, string version,
                             string sign_type, string alipay_public_key, string charset)
        {



            serviceClient = new AlipayHelper(serverUrl, appId, merchant_private_key, "json", version,
                sign_type, alipay_public_key, charset);
            
            return serviceClient;
        }
    }
}
